package com.lexian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地区信息表
 * </p>
 *
 * @author testjava
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Citys对象", description="地区信息表")
public class Citys implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地区编号")
    @TableId(value = "citys_id", type = IdType.AUTO)
    private Long citysId;

    @ApiModelProperty(value = "地区名称")
    private String city;

    @ApiModelProperty(value = "地区拼音")
    private String cityPy;

    @ApiModelProperty(value = "地区拼音首字母")
    private String cityPym;

    @ApiModelProperty(value = "地区级别。1：省级；2：市级；3：区县级")
    private Integer clazz;

    @ApiModelProperty(value = "上级地区")
    private Integer parentId;

    @ApiModelProperty(value = "邮政编码")
    private String postcode;


}
